package TestPackage;

import static org.junit.Assert.*;

import java.util.ArrayList;
import java.util.List;

import model.Animal;
import model.Field;
import model.FieldStats;
import model.Fox;
import model.Hunter;
import model.Location;
import model.Rabbit;
import model.Simulator;

import org.junit.Test;

public class HunterTest
{
	private Field field;
	private Fox fox;
	private Hunter hunter;
	private Location location;
	private Simulator simulator;
	private FieldStats fieldStats;
	private String result;
	private Location location2;
	
	@Test
	public void HunterTest()
	{
		field = new Field(2, 2);
		location = new Location(1, 1);
		location2 = new Location(0, 0);
		fieldStats = new FieldStats();
		List<Animal> dieren = new ArrayList<Animal>();

		Fox fox = new Fox(false, field, location);
		Hunter hunter = new Hunter(false, field, location2);
		
		field.place(hunter, location);
		field.place(fox, location);
		
		fox.act(dieren);
		hunter.act(dieren);
		
		assertEquals(fox.isAlive(),false);
	}
}
